package com.tsing.bms.vo.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author TheTsing
 * @create 2021-05-06 23:37
 */
@Data
public class MainTainUpdateReqVo {

    @NotBlank(message = "id不能为空")
    private String id;

    @NotBlank(message = "保修类型名称不能为空")
    private String name;

    @NotBlank(message = "服务内容不能为空")
    private String content;

    @NotNull(message = "服务单价不能为空")
    private BigDecimal price;

    @NotBlank(message = "服务规格不能为空")
    private String spec;

    private String description;

}
